<template>
  <div id="app" class="login" @click="login">
    点击登录
  </div>
</template>

<script>
  export default {
    methods: {
      login() {
        location.assign('../user/index.html')
      }
    },
    mounted() {
      console.log('GGGGGGG')
    }

  }
</script>

<style lang="less" scoped>
  .login {
    width: 50vw;
    height: 20vw;
    color: aqua;
  }
</style>

